<?php

class IndexController extends Zend_Controller_Action {

    public function init() {

        $this->_statusMessenger = $this->_helper->flashMessenger;
        $this->_errorMessenger = new Zend_Controller_Action_Helper_FlashMessenger();
        $this->_errorMessenger->setNamespace('error');
        $this->view->statusMessages = $this->_statusMessenger->getMessages();
    }

    public function indexAction() {
        $this->view->documentClasses = array('index');
    }

}

